package com.yanyeori.webtest.mapper;

import com.yanyeori.framework.security.entity.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserMapper {
	User selectByUsername(String username);

	List<User> listAll();

	int deleteByUsername(String username);

	int update(User record);
}